package com.sky.loveshop.controller;

import com.sky.loveshop.service.CollectMoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;

/**
 * @author xcy
 * @version V1.0
 * @description 收钱吧
 * @date 2024/9/24 22:36
 */
public class CollectMoneyController {

    @Autowired
    private CollectMoneyService collectMoneyService;

    /**
     * 收钱吧预下单测试
     * @param response
     */
    @RequestMapping(value = "/testPreCreate")
    public void testPreCreate(HttpServletResponse response) {
        try {
            collectMoneyService.testPreCreate(response);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
